﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZK.Common;

namespace ZK.InterfaceServer
{
    /// <summary>
    /// 测试服务
    /// </summary>
    public class TestServer
    {
        public static string test1(string wbid)
        {
            string url = "http://127.0.0.1:30000/api/getAllDevicesInfo";
           // string url = InterfaceExecute.GetUrlNoBaseUrl(uri);
            string ret;
            try
            {
                ret = HttpClientUtil.doGetMethodToString(url);
            }
            catch (Exception ex)
            {
                Common.Log4.LogManage.WriteErr(url + ex.ToString());
                return null;
            }
            return ret;

        }
    }
}
